pp108 : DeactivateCaseModel (Deprecated)

DeactivateCaseModel (Deprecated)

This Web Service operation is used to deactivate the case model which is in ACTIVE status. When a case model is in DEACTIVATED status, creation of any new instance of that case model will not be allowed. However, the existing case instances continue to work. DeactivateCaseModel is part of the CaseModelAdministration Web service interface whose namespace is http://schemas.cordys.com/casemanagement/modeladministration/1.0

Note: The use of this method is deprecated. Case models must be activated only by deploying or undeploying the related application packages. Therefore, applications built on Process Platform must not directly consider to update the deployed content. If applications update the deployed content directly, it will result in issues when the related packages are upgraded or uninstalled.

SOAP Request

<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP:Body>
        <DeactivateCaseModel xmlns="http://schemas.cordys.com/casemanagement/modeladministration/1.0">
            <model name="/HospitalManagment/case/HealthCheck" space="organization"/>
        </DeactivateCaseModel>
    </SOAP:Body>
</SOAP:Envelope>

Request Parameters

Parameter

Required

Description

DataType

name

Mandatory

Refers to the fully qualified name of the case model.

String

space

Mandatory

Refers to the runtime space where the case model will be deployed.

  • isv
  • organization

SOAP Response

<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP:Body>
        <DeactivateCaseModelResponse xmlns="http://schemas.cordys.com/casemanagement/modeladministration/1.0">
            <model name="/HospitalManagment/case/HealthCheck" status="DEACTIVATED"/>
        </DeactivateCaseModelResponse>
    </SOAP:Body>
</SOAP:Envelope>

Response Parameters

Parameter

Description

name

Refers to the fully qualified name of the case model.

status

Indicates the current status of the case model.